package com.pansoft.openplanet.bean;

import java.io.Serializable;
import java.util.List;

/**
 * @author : zzj
 * @e-mail : zhangzhijun@pansoft.com
 * @date : 2018/11/21 10:17
 * @desc :  各种平台币网络请求的实体类
 * @version: 1.0
 */
public class BtcKanDetailsRemoteKindCoinsBean implements Serializable {

    /**
     * code : 0
     * data : {"tickers":[{"id":"2478","high":1.3953,"low":1.14,"buy":1.2315,"sell":1.2315,"last":1.2315,"vol":1.5962770850899E7,"open":1.3081,"time":1542766379431},{"id":"3819","high":5.221E-7,"low":4.25E-7,"buy":4.928E-7,"sell":4.928E-7,"last":4.928E-7,"vol":7.6002348903519E7,"open":5.082E-7,"time":1542766373024}]}
     */

    private int code;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<TickersBean> tickers;

        public List<TickersBean> getTickers() {
            return tickers;
        }

        public void setTickers(List<TickersBean> tickers) {
            this.tickers = tickers;
        }

        public static class TickersBean {
            /**
             * id : 2478
             * high : 1.3953
             * low : 1.14
             * buy : 1.2315
             * sell : 1.2315
             * last : 1.2315
             * vol : 1.5962770850899E7
             * open : 1.3081
             * time : 1542766379431
             */

            private String id;
            private double high;
            private double low;
            private double buy;
            private double sell;
            private double last;
            private double vol;
            private double open;
            private long time;

            private int lastTrendType;

            public int getLastTrendType() {
                return lastTrendType;
            }

            public TickersBean setLastTrendType(int lastTrendType) {
                this.lastTrendType = lastTrendType;
                return this;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public double getHigh() {
                return high;
            }

            public void setHigh(double high) {
                this.high = high;
            }

            public double getLow() {
                return low;
            }

            public void setLow(double low) {
                this.low = low;
            }

            public double getBuy() {
                return buy;
            }

            public void setBuy(double buy) {
                this.buy = buy;
            }

            public double getSell() {
                return sell;
            }

            public void setSell(double sell) {
                this.sell = sell;
            }

            public double getLast() {
                return last;
            }

            public void setLast(double last) {
                this.last = last;
            }

            public double getVol() {
                return vol;
            }

            public void setVol(double vol) {
                this.vol = vol;
            }

            public double getOpen() {
                return open;
            }

            public void setOpen(double open) {
                this.open = open;
            }

            public long getTime() {
                return time;
            }

            public void setTime(long time) {
                this.time = time;
            }
        }
    }
}
